<link rel="stylesheet" href="css/prettyphoto.css">
<div id="fb-root"></div>
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/vi_VN/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<script type="text/javascript" src="libs/highslide/highslide-full.js"></script>
<link rel="stylesheet" type="text/css" href="libs/highslide/highslide.css" />
<style type="text/css">
.highslide-dimming {
  background: black;
}
</style>
<script type="text/javascript">
    hs.graphicsDir = 'libs/highslide/graphics/';
    hs.align = 'center';
    hs.transitions = ['expand', 'crossfade'];
    hs.outlineType = 'rounded-white';
    hs.fadeInOut = true;
    hs.dimmingOpacity = 0.8;
</script>
<div id="subheader">
	<div class="row">
		<div class="twelve columns">
			<p>
				 {_block code='menutree'}
			</p>
		</div>
	</div>
</div>
<div class="hr">
</div>
<div class="row">
	<div id="portofolio">
		<!-- Project 1-->
		{foreach from=$data item=video}
		<div class="four columns threeportofolio category trains">
			<h5 style="max-height: 50px;overflow: hidden;height: 50px;">{$video.name}</h5>
			<p>
				Giới thiệu video 1
			</p>
			<div class="portofoliothumb">
				<a href="includes/youtube.php?id={$video.code}"
		onclick="return hs.htmlExpand(this, { objectType: 'iframe', width: 495, height: 390, 
		allowSizeReduction: true, wrapperClassName: 'draggable-header no-footer',  allowfullscreen: 'true',
		preserveContent: false, objectLoadTime: 'after' })"
        class="highslide"><div class="portofoliothumboverlay threeoverlay">
					<div class="viewgallery threegallery">
						
					</div>
				</div></a>
				<img src="{$video.thumb}" class="threeimage" alt=""/>
			</div>
		</div>
		{foreachelse}
				Không có Video
			{/foreach}
		<!-- Project 2-->
	<br/>
			
	</div>
	
</div>
<div class="row">
<ul class="pagination">
{if $curpage eq ""}{$curpage=1}
				{/if}
			{foreach from=$listpage item=page}
				
				<li {if $page.title eq $curpage}class="current"{/if} onclick="location.href='{$page.link}'"><a href="{$page.link}">{$page.title}</a></li>
			{/foreach}
			</ul>
</div>
<div class="hr">
</div>